﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MS.InformationManagement.Presenter.Support;
using MS.InformationManagement.BLL.Returns;

namespace MS.InformationManagement.Presenter.ReturnedDocuments
{
    public class ReturnedDocumentsPresenter : BasePresenter<IReturnedDocumentsView>
    {

        #region Constructurs

        public ReturnedDocumentsPresenter(IReturnedDocumentsView view) : base(view) {  }

        #endregion

        #region Public Methods

        public void HandleLoad()
        { 
          //TODO: Cargar combos
        }

        public void HandleSearch()
        { 
            View.FoundedItems = Returns.QueryDocuments(View.RadicadoId);
            View.ShowFoundedItems();
        }

        #endregion

    }
}
